<h2>Average rate = [{$average_rate}]</h2>
<table cellpadding="4" cellspacing="4" border="1" width="50%">
<tr>
	<th>Date</th>
	<th>Total Sold</th>
	<th>Cancellation</th>
</tr>
{foreach from=$arrResult item=result}
<tr>
	<td>{$result.date}</td>
	<td>{$result.total}</td>
	<td>{$result.cancel}</td>
</tr>
{/foreach}
</table>